import axios from '../axios'
export default {
  //站点查询分页
  stationListPage(data:any) {
    return axios.post(`/stationlist/page`, data)
  },

  //新增站点
  addStation(data:any) {
    return axios.post(`/stationlist/insert`, data)
  },

  //修改站点
  updateStation(data:any) {
    return axios.post(`/stationlist/updateById`, data)
  },

  //删除站点
  delStationById(id:any) {
    return axios.delete( `/stationlist/deleteById/${id}`)
  },
  // axios.delete(api,{data:{id:1}})
}
